<?php
  echo date('Y-m-d H:i:s')
?>

<hr>

<?=date('Y-m-d H:i:s')?>

<hr>

<script language="php">
  echo date('Y-m-d H:i:s');
</script>

<hr>

<?
  echo date('Y-m-d H:i:s');
?>
